﻿namespace SPQueryToSql
{
    internal static class CAML
    {
        public const string Where = "Where";
        public const string Query = "Query";
        public const string And = "And";
        public const string Or = "Or";

        public const string BeginsWith = "BeginsWith";
        public const string Contains = "Contains";
        public const string Gt = "Gt";
        public const string Geq = "Geq";
        public const string Lt = "Lt";
        public const string Leq = "Leq";
        public const string Eq = "Eq";
        public const string Neq = "Neq";
        public const string IsNotNull = "IsNotNull";
        public const string IsNull = "IsNull";
        public const string DateRangesOverlap = "DateRangesOverlap";
        public const string Membership = "Membership";
        public const string Today = "Today";
        public const string Now = "Now";
        public const string UserID = "UserID";

        public const string FieldRef = "FieldRef";
        public const string Value = "Value";

        public const string View = "View";
        public const string ViewFields = "ViewFields";
        public const string GroupBy = "GroupBy";
        public const string OrderBy = "OrderBy";

        public const string QueryOptions = "QueryOptions";
        public const string ViewAttributes = "ViewAttributes";
        public const string OptimizeFor = "OptimizeFor";
        public const string RowLimit = "RowLimit";
    }
}
